package com.euond.accv.mdm.client.api;

import com.euond.accv.mdm.client.constant.Providers;
import com.euond.accv.mdm.client.dto.BasDictDTO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Created by mokeo on 2017/3/16.
 */
@FeignClient(name = Providers.MDM_API) //, url="http://localhost:20031"
public interface BasDictApi {
    @RequestMapping(value = "/accv-mdm-web/feign_api/bas_dict/getDtlByDictCode", method = RequestMethod.GET)
    public List<BasDictDTO> getDtlByDictCode(@RequestParam("dictCode") String dictCode);
}
